<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Module z_supervisor_named</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>

<h1>Module z_supervisor_named</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>One for one supervisor to hold named worker processes, for use by modules and session management.

<p><b>Behaviours:</b> <a href="gen_server.html"><tt>gen_server</tt></a>.</p>
<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>

<h2><a name="description">Description</a></h2>One for one supervisor to hold named worker processes, for use by modules and session management.
       Adapted from supervisor.erl
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#code_change-3">code_change/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#count_children-1">count_children/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#delete_child-2">delete_child/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#ensure_child-3">ensure_child/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#handle_call-3">handle_call/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#handle_cast-2">handle_cast/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#handle_info-2">handle_info/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#init-1">init/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#restart_child-2">restart_child/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#running_children-1">running_children/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#start_child-2">start_child/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#start_child-3">start_child/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#start_link-0">start_link/0</a></td><td>Start a new supervisor.</td></tr>
<tr><td valign="top"><a href="#terminate-2">terminate/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#terminate_child-2">terminate_child/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#whereis-2">whereis/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#which_children-1">which_children/1</a></td><td></td></tr>
</table>

<h2><a name="functions">Function Details</a></h2>

<h3 class="function"><a name="code_change-3">code_change/3</a></h3>
<div class="spec">
<p><tt>code_change(OldVsn, State, Extra) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="count_children-1">count_children/1</a></h3>
<div class="spec">
<p><tt>count_children(SupRef) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="delete_child-2">delete_child/2</a></h3>
<div class="spec">
<p><tt>delete_child(SupRef, ChildRef) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="ensure_child-3">ensure_child/3</a></h3>
<div class="spec">
<p><tt>ensure_child(SupRef, ChildRef, MFA) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="handle_call-3">handle_call/3</a></h3>
<div class="spec">
<p><tt>handle_call(X1, From, State) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="handle_cast-2">handle_cast/2</a></h3>
<div class="spec">
<p><tt>handle_cast(X1, State) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="handle_info-2">handle_info/2</a></h3>
<div class="spec">
<p><tt>handle_info(Msg, State) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="init-1">init/1</a></h3>
<div class="spec">
<p><tt>init(Args) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="restart_child-2">restart_child/2</a></h3>
<div class="spec">
<p><tt>restart_child(SupRef, ChildRef) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="running_children-1">running_children/1</a></h3>
<div class="spec">
<p><tt>running_children(SupRef) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="start_child-2">start_child/2</a></h3>
<div class="spec">
<p><tt>start_child(SupRef, ChildSpecOrPid) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="start_child-3">start_child/3</a></h3>
<div class="spec">
<p><tt>start_child(SupRef, ChildName, Pid) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="start_link-0">start_link/0</a></h3>
<div class="spec">
<p><tt>start_link() -&gt; any()</tt></p>
</div><p>Start a new supervisor</p>

<h3 class="function"><a name="terminate-2">terminate/2</a></h3>
<div class="spec">
<p><tt>terminate(Reason, State) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="terminate_child-2">terminate_child/2</a></h3>
<div class="spec">
<p><tt>terminate_child(SupRef, ChildRef) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="whereis-2">whereis/2</a></h3>
<div class="spec">
<p><tt>whereis(SupRef, ChildRef) -&gt; any()</tt></p>
</div>

<h3 class="function"><a name="which_children-1">which_children/1</a></h3>
<div class="spec">
<p><tt>which_children(SupRef) -&gt; any()</tt></p>
</div>
<hr>

<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc, Aug 12 2011, 20:01:39.</i></p>
</body>
</html>
